<?php

$this->breadcrumbs = array(
    $model->label(2) => array('show'),
    GxHtml::valueEx($model),
);


$this->menu = array(
    array('label'=>'Back', 'url'=>array($this->backurl),
        'linkOptions'=> array('class' => 'icon icon-arrow-left6 tb-gray'),
    ),
    array('label'=>'Print to PDF', 'url'=>array(""),
        'linkOptions'=> array('class' => 'icon icon-printer2 tb-gray'),
    ),

);

?>

<?php
$this->renderPartial('_show', array(
    'model' => $model));
?>

<?php
$tag_html = "";
$tags_array = array();
if(count($model->tags)>0) {
    foreach ($model->tags as $t) { array_push($tags_array,"<a href=\"\">".$t->id."</a>"); }
    $tag_html = implode(" , ",$tags_array);
}
?>
<?php if($tag_html!=""):?>
<div class="show-drill-tags">
    <b>Tags :</b> <?php echo $tag_html; ?>
</div>
<?php endif;?>
